{% extends "base.html" %}
{% load forms %}
{% block title %}Submit Code{% endblock %}
{% block header %}
    <link href="{{settings.MEDIA_URL}}css/forms.css" type="text/css" rel="stylesheet" />
    <link href="{{settings.MEDIA_URL}}css/main/submit_code.css" type="text/css" rel="stylesheet" />
    
    <script type="text/javascript" src="{{settings.MEDIA_URL}}js/autoresizeTextarea.js"></script>
    <script type="text/javascript" src="{{settings.MEDIA_URL}}js/main/submit_code.js"></script>
{% endblock %}
{% block content %}
    <form action="" method="post">
        {% csrf_token %}
        {% display_form form %}
        <button type="submit" class="submit-button">
            Share your code!
        </button>
    </form>
{% endblock %}